#! /bin/sh

set -e

case "$1" in
    remove)
	if [ -x /usr/sbin/update-initramfs ]; then
		update-initramfs -u
	fi

	for file in cryptdisks_start cryptdisks_stop; do
		if [ -L /usr/sbin/$file ]; then
			rm /usr/sbin/$file
		fi
	done
    ;;
esac

#DEBHELPER#
